﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogoPicker.aspx.cs" EnableViewState="false"
    Inherits="Card.Manager.LogoPicker" %>

<%@ Import Namespace="Card.Utility" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>logo picker</title>
    <link href="Css/mp.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        function resetLogo(width,height,logo)
        {
            window.parent.resetLogo(width,height,logo,'<%=this.FaceType %>');
        }
    </script>
    <style type="text/css">
        body
        {
        	background-color:#EEEEEE;
        }
    </style>
</head>
<body style="background-color: #EFEFEF;">
    <form id="form1" runat="server">
    <div id="logoPicker" class="clear-fix">
        <div class="clear-fix">
            <p>
                <a href="#">全部</a>|<a href="#">通用</a>|<a href="#">知名企业</a>
            </p>
        </div>
        <div class="clear-fix">
            <ul>
                <asp:Repeater ID="rptList" runat="server">
                    <ItemTemplate>
                        <li><a href="javascript:void(0);resetLogo('<%# Eval("WIDTH") %>','<%# Eval("HEIGHT") %>','<%# Eval("IMAGE") %>');">
                            <img border="0" style="width: 50px; height: 50px;" src='<%#  ImageUtilty.GetLogoPath(Eval("IMAGE").ToString())  %>'
                                alt='<%# Eval("NAME") %>' />
                        </a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <div style="clear: both;">
        </div>
        <baf:UrlPager ID="pager"  CssClass="pagination" MaxShowPages="8"  runat="server" PageSize="20" />
    </div>
    </form>
</body>
</html>
